namespace Specifications.Views
{
    //[TestFixture]
    //public class The_dialog_for_credentials : BindingsTestBase
    //{
    //    private readonly ValidationResult<ICredentialsPresenter> bindings;

    //    public The_dialog_for_credentials()
    //    {
    //        bindings = Validator.For<CredentialsView, ICredentialsPresenter>()
    //            .Validate();
    //    }

    //    [Test]
    //    public void does_not_have_binding_errors()
    //    {
    //        Assert.That(bindings.HasErrors, Is.False, bindings.ErrorSummary);
    //    }

    //    [Test]
    //    public void is_bound_to_username_and_remotekey()
    //    {
    //        Assert.That(bindings.WasBoundTo(x => x.Nickname), "No binding for Nickname");
    //        Assert.That(bindings.WasBoundTo(x => x.RemoteKey), "No binding for RemoteKey");
    //    }
    //}
}